<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class TransformDoc</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class TransformDoc</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Transform DOCX to PDF or XHTML</p>
	<ul class="tags">
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">copyright:</span> Copyright (c) 2009-2011 Narcea Producciones Multimedia S.L.              (http://www.2mdc.com)</li>
				<li><span class="field">link:</span> <a href="http://www.phpdocx.com">http://www.phpdocx.com</a></li>
				<li><span class="field">since:</span> Class available since Release 1.0</li>
				<li><span class="field">license:</span> <a href="http://www.phpdocx.com/wp-content/themes/lightword/pro_license.php">http://www.phpdocx.com/wp-content/themes/lightword/pro_license.php</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_TransformDoc.inc.html">/TransformDoc.inc</a> (line <span class="field">33</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#SCHEMA_IMAGEDOCUMENT" title="details" class="const-name">SCHEMA_IMAGEDOCUMENT</a> = 					<span class="var-type">
    'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image'</span>

				</div>
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#SCHEMA_OFFICEDOCUMENT" title="details" class="const-name">SCHEMA_OFFICEDOCUMENT</a> = 					<span class="var-type">
    'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument'</span>

				</div>
							</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
									<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																				
												<div class="method-definition">
											<span class="method-result">TransformDoc</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#__destruct" title="details" class="method-name">__destruct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#absoluteZipPath" title="details" class="method-name">absoluteZipPath</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$path</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#cleanXHTML" title="details" class="method-name">cleanXHTML</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#generatePDF" title="details" class="method-name">generatePDF</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#generateXHTML" title="details" class="method-name">generateXHTML</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getFileName" title="details" class="method-name">getFileName</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getstrFile" title="details" class="method-name">getstrFile</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getStrOutputFile" title="details" class="method-name">getStrOutputFile</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getStrXHTML" title="details" class="method-name">getStrXHTML</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setstrFile" title="details" class="method-name">setstrFile</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setStrOutputFile" title="details" class="method-name">setStrOutputFile</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$outputFile</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setStrXHTML" title="details" class="method-name">setStrXHTML</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$strXHTML</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#validatorXHTML" title="details" class="method-name">validatorXHTML</a>
										()
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">52</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Construct</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">TransformDoc</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method__destruct" id="__destruct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Destructor __destruct</span> (line <span class="line-number">62</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Destruct</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__destruct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodabsoluteZipPath" id="absoluteZipPath"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">absoluteZipPath</span> (line <span class="line-number">132</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return zip path</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			absoluteZipPath
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$path</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$path</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcleanXHTML" id="cleanXHTML"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">cleanXHTML</span> (line <span class="line-number">156</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Clean HTML</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			cleanXHTML
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgeneratePDF" id="generatePDF"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">generatePDF</span> (line <span class="line-number">275</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert DOCX to PDF, using dompdf. DOCX-&gt;XHTML-&gt;PDF</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			generatePDF
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgenerateXHTML" id="generateXHTML"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">generateXHTML</span> (line <span class="line-number">194</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Convert DOCX to XHTML</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			generateXHTML
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetFileName" id="getFileName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getFileName</span> (line <span class="line-number">176</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return file name</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getFileName
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetstrFile" id="getstrFile"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getstrFile</span> (line <span class="line-number">72</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Getter. File</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getstrFile
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetStrOutputFile" id="getStrOutputFile"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getStrOutputFile</span> (line <span class="line-number">92</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Getter. Output file</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getStrOutputFile
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetStrXHTML" id="getStrXHTML"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getStrXHTML</span> (line <span class="line-number">82</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Getter. XHTML</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getStrXHTML
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetstrFile" id="setstrFile"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setstrFile</span> (line <span class="line-number">102</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Setter. File</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setstrFile
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetStrOutputFile" id="setStrOutputFile"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setStrOutputFile</span> (line <span class="line-number">121</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setStrOutputFile
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$outputFile</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$outputFile</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetStrXHTML" id="setStrXHTML"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setStrXHTML</span> (line <span class="line-number">112</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Setter. XHTML</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setStrXHTML
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$strXHTML</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$strXHTML</span>			</li>
				</ul>
		
			
	</div>
<a name="methodvalidatorXHTML" id="validatorXHTML"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">validatorXHTML</span> (line <span class="line-number">297</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validate HTML using tidy</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			validatorXHTML
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constSCHEMA_IMAGEDOCUMENT" id="SCHEMA_IMAGEDOCUMENT"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">SCHEMA_IMAGEDOCUMENT</span>
			 = <span class="const-default"><br />    'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image'</span>
			(line <span class="line-number">35</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
<a name="constSCHEMA_OFFICEDOCUMENT" id="SCHEMA_OFFICEDOCUMENT"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">SCHEMA_OFFICEDOCUMENT</span>
			 = <span class="const-default"><br />    'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument'</span>
			(line <span class="line-number">37</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Tue, 11 Jan 2011 11:27:17 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>